import request from "@/utils/request";

export const getBossShopList = (data) => {
  return request({
    url: "allShoplist",
    method: "post",
    data: data,
  });
};

export const changeGoodStatus = (data) => {
  return request({
    url: "changeGoods",
    method: "post",
    data: data,
  });
};

export const changeUploadShops = (data) => {
  return request({
    url: "uploadShops",
    method: "post",
    data: data,
  });
};

export const returnMoney = (data) => {
  return request({
    url: "returnUserMoney",
    method: "post",
    data: data,
  });
};

export const getShopDetails = (data) => {
  return request({
    url: "bossUpdateShop",
    method: "post",
    data: data,
  });
};

export const updateShopes = (data) => {
  return request({
    url: "sumbitUpdateShopes",
    method: "post",
    data: data,
  });
};

export const getCommentList = (data) => {
  return request({
    url: "getCommentById",
    method: "post",
    data: data,
  });
};

export const reCaller = (data) => {
  return request({
    url: "updateCommentlist",
    method: "post",
    data: data,
  });
};

export const bossBtns = (data) => {
  return request({
    url: "bossUpdateRepiar",
    method: "post",
    data: data,
  });
};


export const getUserReturn = (data) => {
  return request({
    url: "getUserReturn",
    method: "get",
    params:data
  });
};


export const getFixList = (data) => {
  return request({
    url: "getFixPerson",
    method: "post",
    data:data
  });
};
